package com.example.member.service.mp.api.controller;

import com.example.member.service.model.entity.MemberInfo;
import com.example.member.service.mp.api.service.MemberInfoService;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 用户信息表 前端控制器
 * </p>
 *
 * @author wuyunbin
 * @since 2025-03-16
 */
@Slf4j
@RestController
@RequestMapping("/memberInfo")
public class MemberInfoController {
    @Resource
    private MemberInfoService memberInfoService;

    @PostMapping("")
    public void save(@RequestBody MemberInfo memberInfo) {
        memberInfoService.save(memberInfo);
    }

}
